package com.hypo.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @Author: haibo.tang2
 * @Date: 2021/11/19
 * @Description:
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.hypo.hystrix")
@EnableHystrix
public class SpringCloudHystrixApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudHystrixApplication.class,args);
    }
}
